import request from '@/utils/request'

export default {

    //讲师分页查询
    pageList(page, limit) {

        return request({

            url: `/eduservice/teacher/pageTeacher/${page}/${limit}`,
            method: 'get'
        })
    },
    //获取讲师信息，并且查询相关课程
    getTeacherAndCourse(teacherId) {
        return request({

            url: `/eduservice/teacher/getMoreTeacher/${teacherId}`,
            method: 'get'
        })


    }


}